<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>试题创建-选择题</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    {load href="/static/css/bootstrap.min.css" /} 
    {load href="/static/css/mycss.css" /} 
    {load href="/static/js/jquery.js" /}
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    {load href="/static/js/bootstrap.min.js" /}
    {load href="/static/uedit/ueditor.config.js" /}
    {load href="/static/uedit/ueditor.all.min.js" /}
    {load href="/static/uedit/lang/zh-cn/zh-cn.js" /}

    <script type="text/javascript">

        UE.getEditor("myEditor");
        UE.getEditor("myEditor2");

    </script>
</head>
<body>
<div class="container">
    <div class="row">
        <div>
            <span class="glyphicon glyphicon-plus pull-left">&nbsp;</span>
            <h4>新建试题</h4>
            <h4><a href="{:url('admin/Index/index')}">返回首页</a></h4>
            <span class="pull-right close1">×</span>
            <hr>
        </div>
    </div>
    <form action="{:url('admin/Single/doAdd')}" method="post">
        <input type="hidden" name="id" value="">
        <div class="row">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc">难度</label>
            </div>
            <div class="col-xs-10">
                <label class="radio-inline">
                    <input type="radio" name="degree" value="1" checked=""> 简单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </label>
                <label class="radio-inline">
                    <input type="radio" name="degree" value="2"> 一般&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </label>
                <label class="radio-inline">
                    <input type="radio" name="degree" value="3"> 困难&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </label>
            </div>
        </div>
        <div class="row ma-t15">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc">题干</label>
            </div>
            <div class="col-xs-10">
                <textarea style="height:200px;" name="title" id="myEditor" required=""></textarea>
            </div>
        </div>
        <div class="row ma-t15">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc">选项A</label>
            </div>
            <div class="col-xs-10 ma-l_15">
                <div class="row">
                    <div class="col-xs-8">
                        <div class="input-group">
                            <input type="text" class="form-control" name="optionA" placeholder=""  required="">
                        <span class="input-group-btn">
                            <button class="btn btn-default co-gray" type="button">
                                <input type="checkbox" class="pull-left" style="font-size:12px;" name="answerA">&nbsp;正确答案&nbsp;&nbsp;
                            </button>
                        </span>
                        </div>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-picture"></span>
                        </a>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-trash"></span>
                        </a>
                    </div>
                </div>

            </div>
        </div>
        <div class="row ma-t15">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc">选项B</label>
            </div>
            <div class="col-xs-10 ma-l_15">
                <div class="row">
                    <div class="col-xs-8">
                        <div class="input-group">
                            <input type="text" class="form-control" name="optionB" placeholder="" required="">
                        <span class="input-group-btn">
                            <button class="btn btn-default co-gray" type="button">
                                <input type="checkbox" class="pull-left" style="font-size:12px;" name="answerB">&nbsp;正确答案&nbsp;&nbsp;
                            </button>
                        </span>
                        </div>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-picture"></span>
                        </a>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-trash"></span>
                        </a>
                    </div>
                </div>

            </div>
        </div>
        <div class="row ma-t15">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc">选项C</label>
            </div>
            <div class="col-xs-10 ma-l_15">
                <div class="row">
                    <div class="col-xs-8">
                        <div class="input-group">
                            <input type="text" class="form-control" name="optionC" placeholder="" required="">
                        <span class="input-group-btn">
                            <button class="btn btn-default co-gray" type="button">
                                <input type="checkbox" class="pull-left" style="font-size:12px;" name="answerC">&nbsp;正确答案&nbsp;&nbsp;
                            </button>
                        </span>
                        </div>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-picture"></span>
                        </a>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-trash"></span>
                        </a>
                    </div>
                </div>

            </div>
        </div>
        <div class="row ma-t15">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc">选项D</label>
            </div>
            <div class="col-xs-10 ma-l_15">
                <div class="row">
                    <div class="col-xs-8">
                        <div class="input-group">
                            <input type="text" class="form-control" name="optionD" placeholder="" required="">
                        <span class="input-group-btn">
                            <button class="btn btn-default co-gray" type="button">
                                <input type="checkbox" class="pull-left" style="font-size:12px;" name="answerD">&nbsp;正确答案&nbsp;&nbsp;
                            </button>
                        </span>
                        </div>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-picture"></span>
                        </a>
                    </div>
                    <div class="col-xs-1 ma-l_15">
                        <a href="#" class="btn btn-default ">
                            <span class="glyphicon glyphicon-trash"></span>
                        </a>
                    </div>
                </div>

            </div>
        </div>
        <div class="row ma-t15">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc">类别</label>
            </div>
            <div class="col-xs-10">
                <select name="category">
                    <option value="1">单选</option>
                    <option value="2">多选</option>
                    <option value="3">不定项</option>
                </select>
            </div>
        </div>
        <div class="row ma-t15">
            <div  class="col-xs-2" >
                <label class="pull-right" for="abc"></label>
            </div>
            <div class="col-xs-10">
                <a href="javascript:;" onclick="$('#adv').toggle();" class="col-xs-8 text-success"> >>点击这里显示高级选项...</a>
            </div>
        </div>
        <div id="adv">
            <div class="row ma-t15">
                <div  class="col-xs-2" >
                    <label class="pull-right" for="abc">解析</label>
                </div>
                <div class="col-xs-10">
                    <textarea style="height:200px;" name="analysis" id="myEditor2"  required=""></textarea>
                </div>
            </div>
            <div class="row ma-t15">
                <div  class="col-xs-2" >
                    <label class="pull-right" for="abc">分值</label>
                </div>
                <div class="col-xs-10">
                    <input type="text" class="form-control" name="score" placeholder="" required="">
                </div>
            </div>
        </div>
        <br />
        <br />
        <hr>
        <input type="submit" class="btn btn-success pull-right ma-l20" value="确定">
        <input type="button" class="btn btn-default co-gray pull-right" value="取消">
    </form>
    


</div>

</body>
</html>